<%@ page contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="/web/css/shra.css"></link>
<link rel="stylesheet" type="text/css" href="/web/css/style.css"></link>
<script type="text/javascript" src="/web/js/proving.js"></script>
<title>在线报名</title>
</head>
<body>
<div id="registerpage">
	<div>
		<img src="/web/images/zctopr2_c2.gif" />
	</div>
	<form name="form" action="/recruit/recruit_register.seam" method="post"  >
		<div id="registerpage_main">
			<span>家长你好！欢迎注册米可校内网实名账号</span>
			<ul>
				<li><font>账号：</font><h1><input name="studentLoginAccount" type="text" /></h1></li>
				<li><font>密码：</font><h1><input name="studentLoginPassword" type="password" size="22"/></h1></li>
				<li><font>确认密码：</font><h1><input name="studentLoginPasswordAgain" type="password"  size="22"/></h1></li>
				<li><font>Eamil：</font><h1><input name="studentParentMail" type="text" /></h1></li>
			</ul>
			<ul>
				<li><font>学员真实姓名：</font><h1><input name="studentName" type="text" /></h1></li>
				<li><font>联系电话：</font><h1><input name="studentParentCall" type="text" /></h1></li>
			</ul>
			<div class="zcbut">
				<input name="studentState" type="hidden" value="0" />
				<input type="button" value="注册用户"  onclick="CheckForm()"/>
			</div>
			<div class="zcsm">说明：
			  只有账号验证可用并且用户信息正确才能注册成功为Lily校内网用户。
			  如果总提示无法验证通过，请联系所在校区予以解决
			</div>
		</div>
	</form>	
	<div>
		<img src="/web/images/zcbotr4_c2.gif" />
	</div>
</div>
</body>
</html>
<script language="javascript" >
function CheckForm(){
	if(isNull(document.form.studentLoginAccount.value)){
	   	alert("账号不能为空,请输入！"); 
	   	document.form.studentLoginAccount.focus();
	}else if(isNull(document.form.studentLoginPassword.value)){
	   	alert("密码不能为空,请重新输入！"); 
	   	document.form.studentLoginPassword.focus(); 
	}else if(document.form.studentLoginPassword.value.length<6){
	   	alert("密码不能少于6位,请重新输入！"); 
	   	document.form.studentLoginPassword.focus(); 
	}else if (document.form.studentLoginPassword.value != document.form.studentLoginPasswordAgain.value) { 
	   	alert("您两次输入的密码不一样！请重新输入."); 
	   	document.form.studentLoginPassword.focus(); 
	   	return false; 
	}else if(isEmail(document.form.studentParentMail.value)){
	   	alert("邮箱输入不符合规则，请重新输入！"); 
	   	document.form.studentParentMail.focus(); 
	}else if(!isValidTrueName(document.form.studentName.value)){
	   	alert("请输入真实姓名！"); 
	   	document.form.studentName.focus();  
	}else if(isTel(document.form.studentParentCall.value)){
	   	alert("请输入正确电话号码！"); 
	   	document.form.studentParentCall.focus(); 
	}else{
		document.form.submit();
	}
} 
</script>